<template>
  <div>
    <div class="card" style="line-height: 30px">
      <div>欢迎您，<span style="color: dodgerblue;">{{ user.username }}</span></div>
    </div>
  </div>
</template>

<script setup>
  const user = JSON.parse(localStorage.getItem('userInfo') || '{}')
</script>
